﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SqlDataAdapter对象深入.aspx.cs" Inherits="appxxx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:DataGrid runat="server" ID="qqq" AllowPaging="True" Height="131px" OnPageIndexChanged="zzz" PageSize="2" ShowHeader="False" Width="282px" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundColumn DataField="boardtype"></asp:BoundColumn>
            <asp:BoundColumn DataField="readme"></asp:BoundColumn>
            <asp:TemplateColumn>
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.indeximg") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.indeximg") %>'></asp:Label>
                    <asp:ImageButton
                        ID="ImGx" runat="server" AlternateText="删除" ImageUrl="椅子" OnClick="qqwq" />
                </ItemTemplate>
            </asp:TemplateColumn>
           
        </Columns>
    </asp:DataGrid></div>
    </form>
</body>
</html>
